package com.sanjiahantang.youjiarole.config;

/**
 * Created by Liang on 2015/9/17.
 *  所有的 SharedPreferences Key 保存位置
 *
 * 注意:
 *      1. 字段必须加注释，且内容不能重复。
 *
 *
 */
public interface SPConfig {

    /**
     * 商品展示的模式
     *  0  : linear 模式
     *  1 ： gride 模式
     */
    String GOODS_SHOW_MODEL_KEY = "GoodsShowModel";
    /**
     * 登陆返回的key
     */
    String KEY = "key";

    /**
     * 历史搜索key
     */
    String SEARCH_HISTORY_KEY_CASE = "SearchHistoryKeyCase";
    String SEARCH_HISTORY_KEY_GOODS = "SearchHistoryKeyGoods";
    String SEARCH_HISTORY_KEY_ARTICLE_TYPE = "SearchHistoryKeyArticleType";
    String SEARCH_HISTORY_KEY_ARTICLE = "SearchHistoryKeyArticle";
    String SEARCH_HISTORY_KEY_CUSTOMER = "SearchHistoryKeyCustomer";
    String SEARCH_HISTORY_KEY_PARTNER = "SearchHistoryKeyPartner";
    String SEARCH_HISTORY_KEY_INCREASE = "SearchHistoryKeyIncrease";
    String SEARCH_HISTORY_KEY_ACCOUNT = "SearchHistoryKeyAccount";

    /**
     * 首次启动的标识
     */
    String FIRST = "appfirststart";
    /**
     * 保存四个导航页
     */
    String FRAGMENT = "whatfragment";

    String USERNAME = "username";
    String PHONE = "phone";
    String ROLE_ID = "roleId";
    String HEAD_URL = "head_url";
    String ADDRESS = "address";
    String SYS_SPOINTS = "sysPoints";
    String SIGN_TIME="signTime";
    String FILD_ID="fileId";
    String VERSION_ID="versionCode";
    String QR_CODE="qrCode";

    /**
     * 开机广告
     */
    String SCREEN_ADVERTISEMENT = "screenAd";
}
